home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 4810 / 4810.xpi / chrome / speeddial.jar / content / settings / pref-controls.xul < prev    next >
Extensible Markup Language  |  2010-01-31  |  18KB  |  356 lines

  1. <?xml version="1.0"?>
  2.  
  3. <!DOCTYPE overlay [
  4. <!ENTITY % dialogDTD SYSTEM "chrome://speeddial/locale/prefs.dtd">
  5. %dialogDTD;
  6. <!ENTITY % tabBrowserDTD SYSTEM "chrome://global/locale/tabbrowser.dtd">
  7. %tabBrowserDTD;
  8. ]>
  9.  
  10. <overlay xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  11.     id="ControlsPaneOverlay">
  12.  
  13.     <prefpane id="paneControls" label="&controls.label;" onpaneload="controlsPrefInit();">
  14.         <script type="application/x-javascript" src="pref-controls.js"/>
  15.         <preferences>
  16.             <preference id="pref-ctrlShortcutAction" name="extensions.speeddial.ctrlShortcutAction" type="int"/>
  17.             <preference id="pref-ctrlShiftShortcutAction" name="extensions.speeddial.ctrlShiftShortcutAction" type="int"/>
  18.             <preference id="pref-altShortcutAction" name="extensions.speeddial.altShortcutAction" type="int"/>
  19.             <preference id="pref-altShiftShortcutAction" name="extensions.speeddial.altShiftShortcutAction" type="int"/>
  20.             <preference id="pref-ctrlAltShiftShortcutAction" name="extensions.speeddial.ctrlAltShiftShortcutAction" type="int"/>
  21.             <preference id="pref-leftClickAction" name="extensions.speeddial.leftClickAction" type="int"/>
  22.             <preference id="pref-middleClickAction" name="extensions.speeddial.middleClickAction" type="int"/>
  23.             <preference id="pref-rightClickAction" name="extensions.speeddial.rightClickAction" type="int"/>
  24.             <preference id="pref-controlLeftClickAction" name="extensions.speeddial.controlLeftClickAction" type="int"/>
  25.             <preference id="pref-controlMiddleClickAction" name="extensions.speeddial.controlMiddleClickAction" type="int"/>
  26.             <preference id="pref-controlRightClickAction" name="extensions.speeddial.controlRightClickAction" type="int"/>
  27.             <preference id="pref-altLeftClickAction" name="extensions.speeddial.altLeftClickAction" type="int"/>
  28.             <preference id="pref-altMiddleClickAction" name="extensions.speeddial.altMiddleClickAction" type="int"/>
  29.             <preference id="pref-altRightClickAction" name="extensions.speeddial.altRightClickAction" type="int"/>
  30.             <preference id="pref-shiftLeftClickAction" name="extensions.speeddial.shiftLeftClickAction" type="int"/>
  31.             <preference id="pref-shiftMiddleClickAction" name="extensions.speeddial.shiftMiddleClickAction" type="int"/>
  32.             <preference id="pref-shiftRightClickAction" name="extensions.speeddial.shiftRightClickAction" type="int"/>
  33.             <preference id="pref-ctrlShortcutMultikey" name="extensions.speeddial.ctrlShortcutMultikey" type="bool"/>
  34.             <preference id="pref-ctrlShiftShortcutMultikey" name="extensions.speeddial.ctrlShiftShortcutMultikey" type="bool"/>
  35.             <preference id="pref-altShortcutMultikey" name="extensions.speeddial.altShortcutMultikey" type="bool"/>
  36.             <preference id="pref-altShiftShortcutMultikey" name="extensions.speeddial.altShiftShortcutMultikey" type="bool"/>
  37.             <preference id="pref-ctrlAltShiftShortcutMultikey" name="extensions.speeddial.ctrlAltShiftShortcutMultikey" type="bool"/>
  38.             <preference id="pref-multikeyForSingleDigit" name="extensions.speeddial.multikeyForSingleDigit" type="bool"/>
  39.             <preference id="pref-multikeySelectWhenComplete" name="extensions.speeddial.multikeySelectWhenComplete" type="bool"/>
  40.         </preferences>
  41.         <groupbox>
  42.             <caption label="&keyboardControls.caption;"/>
  43.             <grid flex="1">
  44.                 <columns>
  45.                     <column/>
  46.                     <column/>
  47.                     <column/>
  48.                 </columns>
  49.                 <rows>
  50.                     <row align="center">
  51.                         <label value=""/>
  52.                         <hbox>
  53.                             <spacer flex="1"/>
  54.                             <label value="&enableMultikey.label;"/>
  55.                         </hbox>
  56.                         <hbox>
  57.                             <image id="enableMultikeyArrow"/>
  58.                         </hbox>
  59.                     </row>
  60.                     <row align="center" flex="1">
  61.                         <label value="&ctrlShortcut.label;" control="ctrlShortcutAction"/>
  62.                         <menulist flex="0" id="ctrlShortcutAction" preference="pref-ctrlShortcutAction" oncommand="ctrlShortcutActionChanged();">
  63.                             <menupopup>
  64.                                 <menuitem value="0" label="&actionNothing.label;"/>
  65.                                 <menuitem value="1" label="&actionOpen.label;"/>
  66.                                 <menuitem value="2" label="&actionOpenTab.label;"/>
  67.                                 <menuitem value="3" label="&actionOpenBackgroundTab.label;"/>
  68.                                 <menuitem value="4" label="&actionOpenWindow.label;"/>
  69.                                 <menuitem value="5" label="&actionSave.label;"/>
  70.                                 <menuitem value="6" label="&actionTabSelect.label;"/>
  71.                             </menupopup>
  72.                         </menulist>
  73.                         <checkbox id="ctrlShortcutMultikey" preference="pref-ctrlShortcutMultikey" class="multikeyOption"/>
  74.                     </row>
  75.                     <row align="center" flex="1">
  76.                         <label value="&ctrlShiftShortcut.label;" control="ctrlShiftShortcutAction"/>
  77.                         <menulist flex="0" id="ctrlShiftShortcutAction" preference="pref-ctrlShiftShortcutAction" oncommand="ctrlShiftShortcutActionChanged();">
  78.                             <menupopup>
  79.                                 <menuitem value="0" label="&actionNothing.label;"/>
  80.                                 <menuitem value="1" label="&actionOpen.label;"/>
  81.                                 <menuitem value="2" label="&actionOpenTab.label;"/>
  82.                                 <menuitem value="3" label="&actionOpenBackgroundTab.label;"/>
  83.                                 <menuitem value="4" label="&actionOpenWindow.label;"/>
  84.                                 <menuitem value="5" label="&actionSave.label;"/>
  85.                                 <menuitem value="6" label="&actionTabSelect.label;"/>
  86.                             </menupopup>
  87.                         </menulist>
  88.                         <checkbox id="ctrlShiftShortcutMultikey" preference="pref-ctrlShiftShortcutMultikey" class="multikeyOption"/>
  89.                     </row>
  90.                     <row align="center" flex="1">
  91.                         <label value="&altShortcut.label;" control="altShortcutAction"/>
  92.                         <menulist flex="0" id="altShortcutAction" preference="pref-altShortcutAction" oncommand="altShortcutActionChanged();">
  93.                             <menupopup>
  94.                                 <menuitem value="0" label="&actionNothing.label;"/>
  95.                                 <menuitem value="1" label="&actionOpen.label;"/>
  96.                                 <menuitem value="2" label="&actionOpenTab.label;"/>
  97.                                 <menuitem value="3" label="&actionOpenBackgroundTab.label;"/>
  98.                                 <menuitem value="4" label="&actionOpenWindow.label;"/>
  99.                                 <menuitem value="5" label="&actionSave.label;"/>
  100.                                 <menuitem value="6" label="&actionTabSelect.label;"/>
  101.                             </menupopup>
  102.                         </menulist>
  103.                         <checkbox id="altShortcutMultikey" preference="pref-altShortcutMultikey" class="multikeyOption"/>
  104.                     </row>
  105.                     <row align="center" flex="1">
  106.                         <label value="&altShiftShortcut.label;" control="altShiftShortcutAction"/>
  107.                         <menulist flex="0" id="altShiftShortcutAction" preference="pref-altShiftShortcutAction" oncommand="altShiftShortcutActionChanged();">
  108.                             <menupopup>
  109.                                 <menuitem value="0" label="&actionNothing.label;"/>
  110.                                 <menuitem value="1" label="&actionOpen.label;"/>
  111.                                 <menuitem value="2" label="&actionOpenTab.label;"/>
  112.                                 <menuitem value="3" label="&actionOpenBackgroundTab.label;"/>
  113.                                 <menuitem value="4" label="&actionOpenWindow.label;"/>
  114.                                 <menuitem value="5" label="&actionSave.label;"/>
  115.                                 <menuitem value="6" label="&actionTabSelect.label;"/>
  116.                             </menupopup>
  117.                         </menulist>
  118.                         <checkbox id="altShiftShortcutMultikey" preference="pref-altShiftShortcutMultikey" class="multikeyOption"/>
  119.                     </row>
  120.                     <row align="center" flex="1">
  121.                         <label value="&ctrlAltShiftShortcut.label;" control="ctrlAltShiftShortcutAction"/>
  122.                         <menulist flex="0" id="ctrlAltShiftShortcutAction" preference="pref-ctrlAltShiftShortcutAction" oncommand="ctrlAltShiftShortcutActionChanged();">
  123.                             <menupopup>
  124.                                 <menuitem value="0" label="&actionNothing.label;"/>
  125.                                 <menuitem value="1" label="&actionOpen.label;"/>
  126.                                 <menuitem value="2" label="&actionOpenTab.label;"/>
  127.                                 <menuitem value="3" label="&actionOpenBackgroundTab.label;"/>
  128.                                 <menuitem value="4" label="&actionOpenWindow.label;"/>
  129.                                 <menuitem value="5" label="&actionSave.label;"/>
  130.                                 <menuitem value="6" label="&actionTabSelect.label;"/>
  131.                             </menupopup>
  132.                         </menulist>
  133.                         <checkbox id="ctrlAltShiftShortcutMultikey" preference="pref-ctrlAltShiftShortcutMultikey" class="multikeyOption"/>
  134.                     </row>
  135.                 </rows>
  136.             </grid>
  137.             <separator class="thin"/>
  138.             <checkbox id="multikeyForSingleDigit" preference="pref-multikeyForSingleDigit" label="&multikeyForSingleDigit.label;"/>
  139.             <checkbox id="multikeySelectWhenComplete" preference="pref-multikeySelectWhenComplete" label="&multikeySelectWhenComplete.label;"/>
  140.         </groupbox>
  141.         <groupbox>
  142.             <caption label="&mouseControls.caption;"/>
  143.             <tabbox flex="1">
  144.                 <tabs>
  145.                     <tab label="&mouseControls.none;"/>
  146.                     <tab label="&mouseControls.shift;"/>
  147.                     <tab label="&mouseControls.control;"/>
  148.                     <tab label="&mouseControls.alt;"/>
  149.                 </tabs>
  150.                 <tabpanels flex="1">
  151.                     <tabpanel orient="vertical">
  152.                         <grid flex="1">
  153.                             <columns>
  154.                                 <column/>
  155.                                 <column/>
  156.                             </columns>
  157.                             <rows>
  158.                                 <row align="center" flex="1">
  159.                                     <label value="&leftClick.label;" control="leftClickAction"/>
  160.                                     <menulist flex="0" id="leftClickAction" preference="pref-leftClickAction">
  161.                                         <menupopup>
  162.                                             <menuitem value="0" label="&actionNothing.label;"/>
  163.                                             <menuitem value="1" label="&actionOpen.label;"/>
  164.                                             <menuitem value="2" label="&actionOpenTab.label;"/>
  165.                                             <menuitem value="3" label="&actionOpenBackgroundTab.label;"/>
  166.                                             <menuitem value="4" label="&actionOpenWindow.label;"/>
  167.                                             <menuitem value="5" label="&actionSave.label;"/>
  168.                                         </menupopup>
  169.                                     </menulist>
  170.                                 </row>
  171.                                 <row align="center" flex="1">
  172.                                     <label value="&middleClick.label;" control="middleClickAction"/>
  173.                                     <menulist flex="0" id="middleClickAction" preference="pref-middleClickAction">
  174.                                         <menupopup>
  175.                                             <menuitem value="0" label="&actionNothing.label;"/>
  176.                                             <menuitem value="1" label="&actionOpen.label;"/>
  177.                                             <menuitem value="2" label="&actionOpenTab.label;"/>
  178.                                             <menuitem value="3" label="&actionOpenBackgroundTab.label;"/>
  179.                                             <menuitem value="4" label="&actionOpenWindow.label;"/>
  180.                                             <menuitem value="5" label="&actionSave.label;"/>
  181.                                         </menupopup>
  182.                                     </menulist>
  183.                                 </row>
  184.                                 <row align="center" flex="1">
  185.                                     <label value="&rightClick.label;" control="rightClickAction"/>
  186.                                     <menulist flex="0" id="rightClickAction" preference="pref-rightClickAction" oncommand="rightClickActionChanged();">
  187.                                         <menupopup>
  188.                                             <menuitem value="0" label="&actionNothing.label;"/>
  189.                                             <menuitem value="1" label="&actionOpen.label;"/>
  190.                                             <menuitem value="2" label="&actionOpenTab.label;"/>
  191.                                             <menuitem value="3" label="&actionOpenBackgroundTab.label;"/>
  192.                                             <menuitem value="4" label="&actionOpenWindow.label;"/>
  193.                                             <menuitem value="5" label="&actionSave.label;"/>
  194.                                             <menuitem value="6" label="&actionContextualMenu.label;"/>
  195.                                         </menupopup>
  196.                                     </menulist>
  197.                                 </row>
  198.                             </rows>
  199.                         </grid>
  200.                     </tabpanel>
  201.                     <tabpanel orient="vertical">
  202.                         <grid flex="1">
  203.                             <columns>
  204.                                 <column/>
  205.                                 <column/>
  206.                             </columns>
  207.                             <rows>
  208.                                 <row align="center" flex="1">
  209.                                     <label value="&leftClick.label;" control="shiftLeftClickAction"/>
  210.                                     <menulist flex="0" id="shiftLeftClickAction" preference="pref-shiftLeftClickAction">
  211.                                         <menupopup>
  212.                                             <menuitem value="0" label="&actionNothing.label;"/>
  213.                                             <menuitem value="1" label="&actionOpen.label;"/>
  214.                                             <menuitem value="2" label="&actionOpenTab.label;"/>
  215.                                             <menuitem value="3" label="&actionOpenBackgroundTab.label;"/>
  216.                                             <menuitem value="4" label="&actionOpenWindow.label;"/>
  217.                                             <menuitem value="5" label="&actionSave.label;"/>
  218.                                         </menupopup>
  219.                                     </menulist>
  220.                                 </row>
  221.                                 <row align="center" flex="1">
  222.                                     <label value="&middleClick.label;" control="shiftMiddleClickAction"/>
  223.                                     <menulist flex="0" id="shiftMiddleClickAction" preference="pref-shiftMiddleClickAction">
  224.                                         <menupopup>
  225.                                             <menuitem value="0" label="&actionNothing.label;"/>
  226.                                             <menuitem value="1" label="&actionOpen.label;"/>
  227.                                             <menuitem value="2" label="&actionOpenTab.label;"/>
  228.                                             <menuitem value="3" label="&actionOpenBackgroundTab.label;"/>
  229.                                             <menuitem value="4" label="&actionOpenWindow.label;"/>
  230.                                             <menuitem value="5" label="&actionSave.label;"/>
  231.                                         </menupopup>
  232.                                     </menulist>
  233.                                 </row>
  234.                                 <row align="center" flex="1">
  235.                                     <label value="&rightClick.label;" control="shiftRightClickAction"/>
  236.                                     <menulist flex="0" id="shiftRightClickAction" preference="pref-shiftRightClickAction" oncommand="shiftRightClickActionChanged();">
  237.                                         <menupopup>
  238.                                             <menuitem value="0" label="&actionNothing.label;"/>
  239.                                             <menuitem value="1" label="&actionOpen.label;"/>
  240.                                             <menuitem value="2" label="&actionOpenTab.label;"/>
  241.                                             <menuitem value="3" label="&actionOpenBackgroundTab.label;"/>
  242.                                             <menuitem value="4" label="&actionOpenWindow.label;"/>
  243.                                             <menuitem value="5" label="&actionSave.label;"/>
  244.                                             <menuitem value="6" label="&actionContextualMenu.label;"/>
  245.                                         </menupopup>
  246.                                     </menulist>
  247.                                 </row>
  248.                             </rows>
  249.                         </grid>
  250.                     </tabpanel>
  251.                     <tabpanel orient="vertical">
  252.                         <grid flex="1">
  253.                             <columns>
  254.                                 <column/>
  255.                                 <column/>
  256.                             </columns>
  257.                             <rows>
  258.                                 <row align="center" flex="1">
  259.                                     <label value="&leftClick.label;" control="controlLeftClickAction"/>
  260.                                     <menulist flex="0" id="controlLeftClickAction" preference="pref-controlLeftClickAction">
  261.                                         <menupopup>
  262.                                             <menuitem value="0" label="&actionNothing.label;"/>
  263.                                             <menuitem value="1" label="&actionOpen.label;"/>
  264.                                             <menuitem value="2" label="&actionOpenTab.label;"/>
  265.                                             <menuitem value="3" label="&actionOpenBackgroundTab.label;"/>
  266.                                             <menuitem value="4" label="&actionOpenWindow.label;"/>
  267.                                             <menuitem value="5" label="&actionSave.label;"/>
  268.                                         </menupopup>
  269.                                     </menulist>
  270.                                 </row>
  271.                                 <row align="center" flex="1">
  272.                                     <label value="&middleClick.label;" control="controlMiddleClickAction"/>
  273.                                     <menulist flex="0" id="controlMiddleClickAction" preference="pref-controlMiddleClickAction">
  274.                                         <menupopup>
  275.                                             <menuitem value="0" label="&actionNothing.label;"/>
  276.                                             <menuitem value="1" label="&actionOpen.label;"/>
  277.                                             <menuitem value="2" label="&actionOpenTab.label;"/>
  278.                                             <menuitem value="3" label="&actionOpenBackgroundTab.label;"/>
  279.                                             <menuitem value="4" label="&actionOpenWindow.label;"/>
  280.                                             <menuitem value="5" label="&actionSave.label;"/>
  281.                                         </menupopup>
  282.                                     </menulist>
  283.                                 </row>
  284.                                 <row align="center" flex="1">
  285.                                     <label value="&rightClick.label;" control="controlRightClickAction"/>
  286.                                     <menulist flex="0" id="controlRightClickAction" preference="pref-controlRightClickAction" oncommand="controlRightClickActionChanged();">
  287.                                         <menupopup>
  288.                                             <menuitem value="0" label="&actionNothing.label;"/>
  289.                                             <menuitem value="1" label="&actionOpen.label;"/>
  290.                                             <menuitem value="2" label="&actionOpenTab.label;"/>
  291.                                             <menuitem value="3" label="&actionOpenBackgroundTab.label;"/>
  292.                                             <menuitem value="4" label="&actionOpenWindow.label;"/>
  293.                                             <menuitem value="5" label="&actionSave.label;"/>
  294.                                             <menuitem value="6" label="&actionContextualMenu.label;"/>
  295.                                         </menupopup>
  296.                                     </menulist>
  297.                                 </row>
  298.                             </rows>
  299.                         </grid>
  300.                     </tabpanel>
  301.                     <tabpanel orient="vertical">
  302.                         <grid flex="1">
  303.                             <columns>
  304.                                 <column/>
  305.                                 <column/>
  306.                             </columns>
  307.                             <rows>
  308.                                 <row align="center" flex="1">
  309.                                     <label value="&leftClick.label;" control="altLeftClickAction"/>
  310.                                     <menulist flex="0" id="altLeftClickAction" preference="pref-altLeftClickAction">
  311.                                         <menupopup>
  312.                                             <menuitem value="0" label="&actionNothing.label;"/>
  313.                                             <menuitem value="1" label="&actionOpen.label;"/>
  314.                                             <menuitem value="2" label="&actionOpenTab.label;"/>
  315.                                             <menuitem value="3" label="&actionOpenBackgroundTab.label;"/>
  316.                                             <menuitem value="4" label="&actionOpenWindow.label;"/>
  317.                                             <menuitem value="5" label="&actionSave.label;"/>
  318.                                         </menupopup>
  319.                                     </menulist>
  320.                                 </row>
  321.                                 <row align="center" flex="1">
  322.                                     <label value="&middleClick.label;" control="altMiddleClickAction"/>
  323.                                     <menulist flex="0" id="altMiddleClickAction" preference="pref-altMiddleClickAction">
  324.                                         <menupopup>
  325.                                             <menuitem value="0" label="&actionNothing.label;"/>
  326.                                             <menuitem value="1" label="&actionOpen.label;"/>
  327.                                             <menuitem value="2" label="&actionOpenTab.label;"/>
  328.                                             <menuitem value="3" label="&actionOpenBackgroundTab.label;"/>
  329.                                             <menuitem value="4" label="&actionOpenWindow.label;"/>
  330.                                             <menuitem value="5" label="&actionSave.label;"/>
  331.                                         </menupopup>
  332.                                     </menulist>
  333.                                 </row>
  334.                                 <row align="center" flex="1">
  335.                                     <label value="&rightClick.label;" control="altRightClickAction"/>
  336.                                     <menulist flex="0" id="altRightClickAction" preference="pref-altRightClickAction" oncommand="altRightClickActionChanged();">
  337.                                         <menupopup>
  338.                                             <menuitem value="0" label="&actionNothing.label;"/>
  339.                                             <menuitem value="1" label="&actionOpen.label;"/>
  340.                                             <menuitem value="2" label="&actionOpenTab.label;"/>
  341.                                             <menuitem value="3" label="&actionOpenBackgroundTab.label;"/>
  342.                                             <menuitem value="4" label="&actionOpenWindow.label;"/>
  343.                                             <menuitem value="5" label="&actionSave.label;"/>
  344.                                             <menuitem value="6" label="&actionContextualMenu.label;"/>
  345.                                         </menupopup>
  346.                                     </menulist>
  347.                                 </row>
  348.                             </rows>
  349.                         </grid>
  350.                     </tabpanel>
  351.                 </tabpanels>
  352.             </tabbox>
  353.         </groupbox>
  354.     </prefpane>
  355. </overlay>
  356.